package com.bootdo.lvyou.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-14 14:54:26
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class LvyouScenicTicketOrder extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//ID
	 @NotColumn 	@HapiFeild("ID")
	private Long id;
	
	//门票ID
		@HapiFeild("门票ID")
	private Long ticketId;
	
	//门票名
		@HapiFeild("门票名")
	private String ticketName;
	
	//使用时间
		@HapiFeild("使用时间")
		@JsonFormat(pattern="yyyy-MM-dd")
	private Date ticketDate;
	
	//门票数量
		@HapiFeild("门票数量")
	private Integer ticketNum;
	
	//支付金额
		@HapiFeild("支付金额")
	private Double money;
	
	//总金额
		@HapiFeild("总金额")
	private Double totalMoney;
	
	//订单号
		@HapiFeild("订单号")
	private String orderNo;
	
	//支付单号
		@HapiFeild("支付单号")
	private String payOrderNo;
	
	//支付时间
		@HapiFeild("支付时间")
	private Date payTime;
	
	//用户Id
		@HapiFeild("用户Id")
	private Long userId;
	
	//用户名称
		@HapiFeild("用户名称")
	private String userName;
	
	//景点ID
		@HapiFeild("景点ID")
	private Long spotId;
	
	//景点名
		@HapiFeild("景点名")
	private String spotName;
	
	//状态
		@HapiFeild("状态")
	private Integer status;
	
	//会员电话
		@HapiFeild("会员电话")
	private String memberMobile;
	
	//会员名
		@HapiFeild("会员名")
	private String memberNickname;

	@HapiFeild("会员openId")
	private String memberOpenid;

	@HapiFeild("会员身份证号")
	private String memberIdCard;

	//
		@HapiFeild("创建时间")
	private Date createTime;
	
	//
		@HapiFeild("城市ID")
	private Long cityId;
	
	//
		@HapiFeild("城市名字")
	private String cityName;

		@NotColumn
	private String startTime;
		@NotColumn
	private String endTime;


	private String tkOrderNo;

	private String tkWxOrderNo;

    public LvyouScenicTicketOrder(){
    	this.startTime = "";
    	this.endTime = "";
    	this.createTime = new Date();
    }

	public String getTkOrderNo() {
		return tkOrderNo;
	}

	public void setTkOrderNo(String tkOrderNo) {
		this.tkOrderNo = tkOrderNo;
	}

	public String getTkWxOrderNo() {
		return tkWxOrderNo;
	}

	public void setTkWxOrderNo(String tkWxOrderNo) {
		this.tkWxOrderNo = tkWxOrderNo;
	}

	public String getMemberIdCard() {
		return memberIdCard;
	}

	public void setMemberIdCard(String memberIdCard) {
		this.memberIdCard = memberIdCard;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getMemberOpenid() {
		return memberOpenid;
	}

	public void setMemberOpenid(String memberOpenid) {
		this.memberOpenid = memberOpenid;
	}

	/**
	 * 设置：ID
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：ID
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：门票ID
	 */
	public void setTicketId(Long ticketId) {
		this.ticketId = ticketId;
	}
	/**
	 * 获取：门票ID
	 */
	public Long getTicketId() {
		return ticketId;
	}
	/**
	 * 设置：门票名
	 */
	public void setTicketName(String ticketName) {
		this.ticketName = ticketName;
	}
	/**
	 * 获取：门票名
	 */
	public String getTicketName() {
		return ticketName;
	}
	/**
	 * 设置：使用时间
	 */
	public void setTicketDate(Date ticketDate) {
		this.ticketDate = ticketDate;
	}
	/**
	 * 获取：使用时间
	 */
	public Date getTicketDate() {
		return ticketDate;
	}
	/**
	 * 设置：门票数量
	 */
	public void setTicketNum(Integer ticketNum) {
		this.ticketNum = ticketNum;
	}
	/**
	 * 获取：门票数量
	 */
	public Integer getTicketNum() {
		return ticketNum;
	}
	/**
	 * 设置：支付金额
	 */
	public void setMoney(Double money) {
		this.money = money;
	}
	/**
	 * 获取：支付金额
	 */
	public Double getMoney() {
		return money;
	}
	/**
	 * 设置：总金额
	 */
	public void setTotalMoney(Double totalMoney) {
		this.totalMoney = totalMoney;
	}
	/**
	 * 获取：总金额
	 */
	public Double getTotalMoney() {
		return totalMoney;
	}
	/**
	 * 设置：订单号
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	/**
	 * 获取：订单号
	 */
	public String getOrderNo() {
		return orderNo;
	}
	/**
	 * 设置：支付单号
	 */
	public void setPayOrderNo(String payOrderNo) {
		this.payOrderNo = payOrderNo;
	}
	/**
	 * 获取：支付单号
	 */
	public String getPayOrderNo() {
		return payOrderNo;
	}
	/**
	 * 设置：支付时间
	 */
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}
	/**
	 * 获取：支付时间
	 */
	public Date getPayTime() {
		return payTime;
	}
	/**
	 * 设置：用户Id
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户Id
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：用户名称
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取：用户名称
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置：景点ID
	 */
	public void setSpotId(Long spotId) {
		this.spotId = spotId;
	}
	/**
	 * 获取：景点ID
	 */
	public Long getSpotId() {
		return spotId;
	}
	/**
	 * 设置：景点名
	 */
	public void setSpotName(String spotName) {
		this.spotName = spotName;
	}
	/**
	 * 获取：景点名
	 */
	public String getSpotName() {
		return spotName;
	}
	/**
	 * 设置：状态
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：会员电话
	 */
	public void setMemberMobile(String memberMobile) {
		this.memberMobile = memberMobile;
	}
	/**
	 * 获取：会员电话
	 */
	public String getMemberMobile() {
		return memberMobile;
	}
	/**
	 * 设置：会员名
	 */
	public void setMemberNickname(String memberNickname) {
		this.memberNickname = memberNickname;
	}
	/**
	 * 获取：会员名
	 */
	public String getMemberNickname() {
		return memberNickname;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}
	/**
	 * 获取：
	 */
	public Long getCityId() {
		return cityId;
	}
	/**
	 * 设置：
	 */
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	/**
	 * 获取：
	 */
	public String getCityName() {
		return cityName;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
